package edi.android.tmdbBrowser;

import android.view.View;

public class ShowMovieItem {
	private View view;
	private Boolean enabled;
	private int viewType;

	/**
	 * Viewtypes
	 */
	public static final int SEPARATOR = 0, TOPINFO = 1, PLAIN = 2, RATING=3, TWOLINE=4;

	/**
	 * @param view
	 *            The view to show in the list
	 * @param enabled
	 *            is this view selectable/clickable?
	 * @param viewType
	 *            The type of the view
	 */
	public ShowMovieItem(View view, Boolean enabled, int viewType) {
		super();
		this.view = view;
		this.enabled = enabled;
		this.viewType = viewType;
	}

	/**
	 * @return the view
	 */
	public View getView() {
		return view;
	}

	/**
	 * @param view
	 *            the view to set
	 */
	public void setView(View view) {
		this.view = view;
	}

	/**
	 * @return true if the item is enabled
	 */
	public Boolean getEnabled() {
		return enabled;
	}

	/**
	 * @param enabled
	 *            bool to enable or disable the item
	 */
	public void setSelectable(Boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * @return the viewType
	 */
	public int getViewType() {
		return viewType;
	}

	/**
	 * @param viewType
	 *            the viewType to set
	 */
	public void setViewType(int viewType) {
		this.viewType = viewType;
	}
}
